package com.liukai.novel_info.ui;

import android.annotation.TargetApi;
import android.content.Context;
import android.os.Build;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.Toast;

import androidx.annotation.NonNull;
import androidx.appcompat.widget.Toolbar;
import androidx.coordinatorlayout.widget.CoordinatorLayout;
import androidx.core.widget.NestedScrollView;
import androidx.viewpager.widget.ViewPager;

import com.google.android.material.appbar.AppBarLayout;
import com.google.android.material.appbar.CollapsingToolbarLayout;
import com.google.android.material.tabs.TabLayout;
import com.liukai.novel_base.base.BaseActivity;
import com.liukai.novel_info.R;
import com.liukai.novel_info.R2;
import com.liukai.novel_info.adapter.ViewPagerAdapter;

import java.util.ArrayList;
import java.util.List;

import butterknife.BindView;

public class NovelDetailActivity extends BaseActivity {

    @BindView(R2.id.toolbar_tab)
    TabLayout mTabLayout;

    @BindView(R2.id.collapsingToolbarLayout)
    CollapsingToolbarLayout mCollapsingToolbarLayout;

    @Override
    protected int getLayoutId() {
        return R.layout.activity_novel_detail;
    }

    @Override
    protected void initData(Context context) {
        mTabLayout.addTab(mTabLayout.newTab().setText("详情"));
        mTabLayout.addTab(mTabLayout.newTab().setText("书架"));
        mCollapsingToolbarLayout.setTitle("都市最狂医仙");
    }

    @Override
    protected void initView() {

    }

    @Override
    protected void initListener() {

    }
}
